package com.techstar.api.pojo.bus;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.techstar.common.jackson.StrDateDeserializer;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 
 * @author EinIce
 * @description 日均营收
 * @date 2021年9月27日
 */

@Getter
@Setter
@Entity
@ToString
@Table(name = "daily_business")
@org.hibernate.annotations.Table(appliesTo = "daily_business",comment="pbtp-2-日均营收")
public class DailyBusiness {
	@Column(columnDefinition="varchar(100) COMMENT '当年日均客运量'")
	private String avgFlow;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均营收金额'")
	private String avgTrading;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均营运班次'")
	private String avgExecuteShiftNum;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均营运里程'")
	private String avgMileage;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均单车营收'")
	private String avgTradingByShift;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均里程客运量'")
	private String avgFlowByMileage;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均单车客运量'")
	private String avgFlowByShift;
	@Column(columnDefinition="varchar(100) COMMENT '当年日均车公里营收'")
	private String avgTradingByMileage;
	@Id
	@Column(columnDefinition="varchar(100) COMMENT '业务统计时间'")
	@JsonDeserialize(using = StrDateDeserializer.class)
	private String createTime;
}

